Data Types in C

Data types specify how we enter data into our programs and what type of data we enter. C language has some predefined set of data types to handle various kinds of data that we use in our program. These data types have different storage capacities.



1. Primitive Data Types

These are the fundamental data types in C, used to define variables that hold simple values.

A. Integer Types (int)

Floating-point Types

C. Character Type

2. Derived Data Types

3. User Defined Data Types